#!/bin/bash

# 检查运行时配置
if [[ $(sysctl -n net.ipv4.tcp_syncookies 2>/dev/null) -eq 1 ]]; then
    echo "通过：net.ipv4.tcp_syncookies 已启用"
else
    echo "失败：net.ipv4.tcp_syncookies 未启用"
    exit 1
fi
